<% @page_title="Mensaje : "+@mail.message.subject%>
<%= render :partial=>'mailmenu' %>
<div id="mail_date">Enviado el:<%= @mail.created_at.strftime(DATETIME_FMT)%></div>
<div id="mail_from">De:<%=h @mail.message.sender.login%></div>
<div id="mail_subj"><%=h @mail.message.subject%></div>
<% # FIXME esto es medio peligrosoo para XSS %>
<div id="mail_body" class="message_content"><%=  @mail.message.body %></div>
<br/>
<% form_tag :action => 'reply' do %>
	
	<%=  hidden_field 'msg', 'id', :value => @mail.id %>

	<p><label for="msg_texto">Responder:</label><br/>
	<%=  text_area 'msg', 'texto', :size=>'30x5'  %></p>
	
	<%=  submit_tag "Responder" %>
<% end %>
<%=link_to 'volver a Bandeja de Entrada', :action=>'mailbox'%> | <%= link_to 'ver conversaci&oacute;n completa', :action=>'leer_conversacion', :id=>@mail.id%>